package com.batchengine;

/**
 * Created by sunil.incubator@yahoo.com.
 * User: sunil.kalva
 * Date: Jun 22, 2009
 */
public interface Constants {

    int MILLIS_IN_A_SECOND = 1000;
    int SECONDS_IN_A_MINUTE = 60;
    int MINUTES_IN_AN_HOUR = 60;
    int HOURS_IN_A_DAY = 24;

    public static final String IP_STR = "-ip";
    public static final String KEY_STR = "-key";

    public static final String RELOAD_COMMAND = "reload";

    String TASK_TYPE_CONTINUOUS = "CONTINUOUS";
    String TASK_TYPE_WINDOW = "WINDOW";

    String NAME_TASK = "WORK::";

    String WORKFLOW_TYPE_XML = "WORKFLOW_TYPE_XML";
    String WORKFLOW_TYPE_JAVA = "WORKFLOW_TYPE_JAVA";

    String EMPTY_STRING = "";

    int SLEEP_TIME = MILLIS_IN_A_SECOND * SECONDS_IN_A_MINUTE * 2;

    String SUCCESS = "SUCCESS";
}
